package https.itmanager.com.springboot;

import org.springframework.boot.builder.SpringApplicationBuilder;

public class SpringEventListenerBootstrap {

    public static void main(String[] args){
        new SpringApplicationBuilder(Object.class).listeners(event -> System.out.println("SpringApplication事件监听器" + event.getClass().getSimpleName())).web(false).run(args).close();
    }
}
